package com.dcy.system.convert;

import com.dcy.system.vo.in.LogSearchInVO;
import com.dcy.system.vo.out.LogListOutVO;
import com.dcy.system.model.Log;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author：dcy
 * @Description:
 * @Date: 2020/10/23 9:28
 */
@Mapper
public interface LogConvert {

    LogConvert INSTANCE = Mappers.getMapper(LogConvert.class);

    Log toLog(LogSearchInVO logSearchInVO);

    LogListOutVO toOut(Log log);

    List<LogListOutVO> toOutputList(List<Log> logs);


}
